package com.youcash.ZyWallet_spring.dao;

import com.youcash.ZyWallet_spring.entity.CustomersInfo;
import com.youcash.ZyWallet_spring.general.GeneralDAO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CustomersInfoMapper extends GeneralDAO<CustomersInfo> {

    public int updateInfoById(@Param("id") int id,
                              @Param("name") String name,
                              @Param("idNum") String idNum,
                              @Param("sex") String sex);

    public int updatePwdByPhone(@Param("phone") String phone,
                                @Param("password") String password);
}